package satir.framework.command;

/**
 * The Class State.
 */
public class State {

    /** The Constant STATE_EXIT. */
    public static final int STATE_EXIT = 0;

    /** The Constant STATE_PROCESSING. */
    public static final int STATE_PROCESSING = 1;

    /** The Constant STATE_FINISH. */
    public static final int STATE_FINISH = 2;

    /** The state. */
    private int state;

    /**
     * Instantiates a new state.
     */
    public State() {
	this.state = STATE_PROCESSING;
    }

    /**
     * Gets the state.
     *
     * @return the state
     */
    public int getState() {
	return state;
    }

    /**
     * Sets the state.
     *
     * @param state the new state
     */
    public void setState(final int state) {
	this.state = state;
    }
}
